import {Pipe, PipeTransform} from '@angular/core';

@Pipe({name: 'booleanFormatterPipe'})
export class BooleanFormatterPipe implements PipeTransform {
  transform(value: boolean) {
    return value ? '是' : '否';
  }
}
